package com.lh0811.forge.pserv.uacs.api.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 开发平台-应用资源表
 *
 * @author
 * @email
 * @date 2024-05-24 15:39:41
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class UacsPlateResTreeVo implements Serializable {

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "父节点id")
    private Long pid;
    @Schema(description = "资源名称")
    private String resName;
    @Schema(description = "资源类型： 00-菜单 01-操作按钮(接口) 02-权限码")
    private String resType;
    @Schema(description = "请求地址")
    private String url;
    @Schema(description = "权限码")
    private String code;
    @Schema(description = "图标")
    private String icon;
    @Schema(description = "排序")
    private Integer orderNo;
    @Schema(description = "是否是叶子节点")
    private Boolean leafFlag;
    @Schema(description = "路由")
    private String router;
    @Schema(description = "元数据")
    private String meta;
    @Schema(description = "备注")
    private String notes;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "创建人")
    private Long createBy;
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "更新人")
    private Long updateBy;
    @Schema(description = "拓展信息")
    private String extInfo;
    @Schema(description = "子节点")
    private List<UacsPlateResTreeVo> children;

}
